package MyClass;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: 0162977
 * @Date: 2020/11/12 16:18
 */
public class Transaction {
    private int TNo;
    private List<String> content;
    private List<Integer> readSet = new ArrayList<Integer>();
    private List<Integer> writeSet = new ArrayList<Integer>();


    public List<Integer> getReadSet() {
        return readSet;
    }

    public void setReadSet(List<Integer> readSet) {
        this.readSet = readSet;
    }

    public List<Integer> getWriteSet() {
        return writeSet;
    }

    public void setWriteSet(List<Integer> writeSet) {
        this.writeSet = writeSet;
    }

    public int getTNo() {
        return TNo;
    }

    public void setTNo(int TNo) {
        this.TNo = TNo;
    }

    public List<String> getContent() {
        return content;
    }

    public void setContent(List<String> content) {
        this.content = content;
    }
}
